package com.dx.VegetableOxygenBarBackEnd.service;

import com.qcloud.cos.COSClient;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface CosService {
    COSClient initCOSClient();

    String uploadFile(MultipartFile file, String avatarsUrl) throws IOException;

    boolean deleteFile(String fileUrl, String avatarsUrl);
}
